package com.mju.feign.clients;

import com.mju.controller.common.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("payment-service")
public interface PaymentInfoClient {
    //记录电脑支付信息
    @PostMapping("/paymentInfo/createPaymentInfo")
    public JsonResult createPaymentInfo(@RequestParam Map<String, String> params);

    //记录移动端支付信息
    @PostMapping("/paymentInfo/createPaymentInfoForMobileTerminal")
    public JsonResult createPaymentInfoForMobileTerminal(@RequestParam Map<String, String> params);
}
